<?php
return array(
	'rules'=>array(
        array('name,mobile,play_time','required'),
        PregRules::phoneRules('mobile','手机格式有误'),
        PregRules::idCardsRules('idcard')
	),

	'relations' => array(
	    'order' => array(CActiveRecord::BELONGS_TO,'Order','order_id'),
	),

	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);